<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay');?><?php include template('common/header'); ?><div class="z_current">
    <div class="z_dqwz">
        <a href="./" title="首页">首页</a><a>&gt;</a><a href="forum.php"><?php echo $_G['setting']['navs']['2']['navname'];?></a><a>&gt;</a><a><?php echo $_G['forum']['name'];?></a>
    </div>
</div>

<div class="kj_con">
    <div class="kj_right" style="height:auto; overflow:hidden; width:998px; padding-bottom:20px;">
        <div class="kj_ss">
            <p style="margin-bottom:20px;"><span>栏目：</span>
            <?php if(is_array($leftside['forums'])) foreach($leftside['forums'] as $upfid => $gdata) { ?>                <?php if(is_array($gdata['sub'])) foreach($gdata['sub'] as $subfid => $name) { ?>                <a <?php if($_G['fid'] == $subfid || $_G['forum']['fup'] == $subfid) { ?>style="color:#2778cc"<?php } ?> href="<?php if(!empty($_G['cache']['forums'][$subfid]['domain']) && !empty($_G['setting']['domain']['root']['forum'])) { ?>http://<?php echo $_G['cache']['forums'][$subfid]['domain'];?>.<?php echo $_G['setting']['domain']['root']['forum'];?><?php } else { ?>forum.php?mod=forumdisplay&fid=<?php echo $subfid;?><?php } ?>"><?php echo $name;?></a>
                <?php } ?>
            <?php } ?>
            </p>
            <p>
                <a class="cp_nav" style="color:#fff;" href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>">发帖</a><a class="cp_nav" style="margin-left:30px; margin-right:350px;color:#fff;" href="tlzq_wdtz.html">我的帖子</a>
                <input name="" type="text" class="tz_select" />
                <select name="" class="kj_text" style="width:181px; margin-right:0px;">
                    <option>按最后回复排序</option>
                </select></p>
        </div>

        <table width="200" border="0" cellpadding="0" cellspacing="0" class="table">
            <tr>
                <th width="347"> 主题 </th>
                <th width="127">作者</th>
                <th width="235"> 回帖/人气</th>
                <th width="246">最后更新</th>
            </tr>
            <?php if($_G['forum_threadcount']) { ?>
            <?php if(empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']) { ?>
            <?php if(is_array($_G['forum_threadlist'])) foreach($_G['forum_threadlist'] as $key => $thread) { ?>            <tr>
                <td><a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?> style="width:auto; border:none;"><?php echo $thread['subject'];?></a></td>
                <td><a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" c="1"<?php if($groupcolor[$thread['authorid']]) { ?> style="color: <?php echo $groupcolor[$thread['authorid']];?>;"<?php } ?> style="width:auto; border:none;"><?php echo $thread['author'];?></a><?php if(!empty($verify[$thread['authorid']])) { ?> <?php echo $verify[$thread['authorid']];?><?php } ?></td>
                <td><?php echo $thread['allreplies'];?>/<?php if($thread['isgroup'] != 1) { ?><?php echo $thread['views'];?><?php } else { ?><?php echo $groupnames[$thread['tid']]['views'];?><?php } ?></td>
                <td><?php echo $thread['dateline'];?></td>
            </tr>
            <tr>
                <td colspan="3" style="border-bottom:1px dashed #ccc;"><a style="background:#88c932; color:#fff;" class="sz">1</a><a class="sz">2</a><a class="sz">3</a><a class="sz">4</a></td>
                <td style="border-bottom:1px dashed #ccc;">贝贝妈妈</td>
            </tr>
            <?php } ?>
            <?php } ?>
            <?php } ?>

        </table>

        <div class="tab1" style="margin-top:20px;">
            <?php echo $multipage;?>

        </div>
    </div>
</div>
</div><?php include template('common/footer'); ?>